package com.yonyou.cyxdms.sysAuth.service.service.dealerchannel;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yonyou.cyxdms.sysAuth.service.dto.dealer.MsgTemplateDTO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author duxiaoguang
 * @since 2019-09-04
 */
public interface MsgTemplateService {
    public IPage<Map<String, Object>> selectPageBysql(Page page, Map<String, Object> queryCondition);

    public List<Map<String, Object>> selectListBySql(Map<String, Object> queryCondition);

    public Map<String, Object> getById(Integer id);

    public Map<String, Object> insert(MsgTemplateDTO msgTemplateDTO);

    public Map<String, Object> update(Integer id, MsgTemplateDTO msgTemplateDTO);

    public Integer deleteAll();

    public MsgTemplateDTO selectTempInfo(Integer templateCode,String appId);

    public void deleteBatchIds(String ids);

}
